package top.huxy.qqbot.acks;

import java.util.HashMap;

/**
 * @author HuXY
 */
public class Login extends Ack {

    public Login(long qq, String pwd, String verification) {
        super("login", createData(qq, pwd, verification));
    }

    private static HashMap<String, Object> createData(long qq, String pwd, String verification) {
        HashMap<String, Object> data = new HashMap<>(6);
        data.put("qq", qq);
        data.put("pwd", pwd);
        data.put("verification", verification);
        data.put("date", System.currentTimeMillis());
        return data;
    }
}
